﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Opdracht_1
{
    public partial class NumberChoice : Form
    {
        public string cijfer;

        public NumberChoice(int possibilities)
        {
            InitializeComponent();
            cijfer = "0";
        }

        public string getCijfer()
        {
            return cijfer;
        }

        void Mynewmethod(object sender, EventArgs e)
        {
            Button b = (Button)sender;
            Tag = b.Text;
            this.Close();
        }

        private void button10_Click(object sender, EventArgs e)
        {
            Tag = "";
            this.Close();
        }
    }
}